<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://xmlns.jcp.org/jsf/core">

    <f:view contentType="text/html">
        <h:head>
            <title><ui:insert name="title">Default Title</ui:insert></title>          
            <h:outputStylesheet library="css" name="pfcrud.css"/>
            <h:outputStylesheet library="css" name="customstyle.css"/>
            <h:outputScript library="scripts" name="pfcrud.js"/>
            <f:facet name="template">
                <script src="http://maps.google.com/maps/api/js?sensor=true" type="text/javascript" />
            </f:facet>
        </h:head>

        <h:body>

            <p:growl id="growl" life="5000"/>

            <p:layout fullPage="true">
                <p:layoutUnit position="north" size="100" header="#{MyBundle.AppName}">                    
                    <ui:include src="/include/appmenu.xhtml"/>
                </p:layoutUnit>

                <p:layoutUnit position="center">
                    <ui:insert name="body"/>
                </p:layoutUnit>
            </p:layout>

            <p:layoutUnit id="footer" position="south" size="60">
                <ui:insert  name="footer">Trabajo fin de master. Servicio de alertas 112. Universidad de Sevilla.
                    Master en desarrollo de aplicaciones para Internet y dispositivos moviles. Jorge Tarancon Iglesias              
                </ui:insert>
            </p:layoutUnit>

        </h:body>
    </f:view>
</html>
